﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SYH.Public.Model;
using SYH.Config;

namespace SYH.Public.DAL
{
    public interface IGallery
    {
        /// <summary>
        /// 获取指定用户的相册列表
        /// </summary>
        /// <param name="user">用户编号</param>
        /// <returns></returns>
        List<Alums> GetAlums(int userId);

        /// <summary>
        /// 获取相册中的图片(分页)
        /// </summary>
        /// <param name="alumsId">相册编号</param>
        /// <param name="pageSize"></param>
        /// <param name="pageIndex"></param>
        /// <param name="allCount"></param>
        /// <returns></returns>
        List<Image> GetImages(int alumsId, int pageSize, int pageIndex, out int pageCount, out int recordCount);

    }
}
